package com.dp.appi.service;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipFile;

/**
 * Created by Administrator on 2016/8/25.
 */
public interface PackageService {
    /**
     * 获取项目阶段信息
     * @param stage_id
     * @return
     */
    Map<String,Object> projectInfo(Long stage_id);

    /**
     * 项目数据打包
     * @param rootPath
     * @param param
     */
    String projectPack(String rootPath, Map<String, String> param,Integer classify) throws IOException;

    /**
     * 压缩包解压后解析
     * @param path 压缩包根目录路径
     * @param id 上传者
     * @return
     */
    Long analysisPackage(String path,String stageId,String id);

    /**
     * 更新当前点位角度
     * @param id
     */
    void calculateConer(Long id);

    /**
     *阶段踏勘点位列表
     * @param exploration_type
     * @param stage_id
     * @param classify
     * @return
     */
    List<Map<String,Object>> explorationList(Long stage_id,Integer exploration_type,Integer classify);

    public Map<String, Object> expPhotoList(Long exploration_id);

    void up_explor_byBYQID(Long exploration_id,Long explor_id);

}
